package team.seekers.catering.order.entity.dto.update;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class OrderDeleteDTO {

    @NotBlank(message = "订单号不能为空")
    @Size(max = 19,min = 19,message = "订单号格式错误")
    private String orderId;

    @NotBlank(message = "删除理由不能为空")
    @Size(max = 255,message = "删除理由过长")
    private String deleteReason;

}
